class CreateEvents < ActiveRecord::Migration
  def change
    create_table :events do |t|
      t.string :title
      t.text :description
      t.date :start_date
      t.date :end_date
      t.date :deadline
      t.string :registration_link
      t.string :location
      t.integer :type
      t.string :image_path

      t.timestamps
    end
  end
end
